import java.util.Scanner;

import javax.naming.spi.DirStateFactory.Result;

public class Zuidazhi {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		System.out.println("请输入a的值");
		int a=sc.nextInt();
		System.out.println("请输入b的值");
		int b=sc.nextInt();
		System.out.println("请输入c的值");
		int c=sc.nextInt();
		int result=0;
		if (a>b || a>c) {
			result=a;
		}else if(b>c || b>a){
			result=b;
		}else{
			result=c;
		}
		
		System.out.println(result);
	}
	
	// public static int getMax(int a,int b,int c) {
	//	return c;
	//	 }
	 
}
